[INFO] cloning repository https://github.com/claudiug/rust_game
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/claudiug/rust_game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclaudiug%2Frust_game", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclaudiug%2Frust_game'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 58d3c707fa1205a38661b137748d79db4edb8b58
[INFO] checking claudiug/rust_game against master#9610dfe5a9a731ced1ea4923ecbd0c57fe367898 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fclaudiug%2Frust_game" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/claudiug/rust_game on toolchain 9610dfe5a9a731ced1ea4923ecbd0c57fe367898
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/claudiug/rust_game
[INFO] finished tweaking git repo https://github.com/claudiug/rust_game
[INFO] tweaked toml for git repo https://github.com/claudiug/rust_game written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/claudiug/rust_game already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f43d6fa84878dfdbfa87c86ac2b3fec3ddcbf96dd2319d72ab29feec5dca00dc
[INFO] running `Command { std: "docker" "start" "-a" "f43d6fa84878dfdbfa87c86ac2b3fec3ddcbf96dd2319d72ab29feec5dca00dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f43d6fa84878dfdbfa87c86ac2b3fec3ddcbf96dd2319d72ab29feec5dca00dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f43d6fa84878dfdbfa87c86ac2b3fec3ddcbf96dd2319d72ab29feec5dca00dc", kill_on_drop: false }`
[INFO] [stdout] f43d6fa84878dfdbfa87c86ac2b3fec3ddcbf96dd2319d72ab29feec5dca00dc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a5a8d6f60f5ca875909ffea7d99936cf4bf61cbfab9f2b08bf24ca4b7a72e46c
[INFO] running `Command { std: "docker" "start" "-a" "a5a8d6f60f5ca875909ffea7d99936cf4bf61cbfab9f2b08bf24ca4b7a72e46c", kill_on_drop: false }`
[INFO] [stderr]     Checking guessing_game v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `std::rand`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::rand;
[INFO] [stdout]   |     ^^^^^^^^^ no `rand` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::rand`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::rand;
[INFO] [stdout]   |     ^^^^^^^^^ no `rand` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]  --> src/main.rs:7:41
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let secret_number = (rand::random::<uint>() % 100u) + 1u;
[INFO] [stdout]   |                                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]  --> src/main.rs:7:41
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let secret_number = (rand::random::<uint>() % 100u) + 1u;
[INFO] [stdout]   |                                         ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:16:31
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let input_num: Option<uint> = from_str(input.as_slice().trim());
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:16:31
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let input_num: Option<uint> = from_str(input.as_slice().trim());
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:40:11
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn cmp(a: uint, b: uint) -> Ordering {
[INFO] [stdout]    |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:40:20
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn cmp(a: uint, b: uint) -> Ordering {
[INFO] [stdout]    |                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ordering` in this scope
[INFO] [stdout]   --> src/main.rs:40:29
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn cmp(a: uint, b: uint) -> Ordering {
[INFO] [stdout]    |                             ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::cmp::Ordering;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::sync::atomic::Ordering;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Less` in this scope
[INFO] [stdout]   --> src/main.rs:41:16
[INFO] [stdout]    |
[INFO] [stdout] 41 |     if a < b { Less }
[INFO] [stdout]    |                ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::cmp::Ordering::Less;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:40:11
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn cmp(a: uint, b: uint) -> Ordering {
[INFO] [stdout]    |           ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Greater` in this scope
[INFO] [stdout]   --> src/main.rs:42:21
[INFO] [stdout]    |
[INFO] [stdout] 42 |     else if a > b { Greater }
[INFO] [stdout]    |                     ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::cmp::Ordering::Greater;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `uint` in this scope
[INFO] [stdout]   --> src/main.rs:40:20
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn cmp(a: uint, b: uint) -> Ordering {
[INFO] [stdout]    |                    ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Equal` in this scope
[INFO] [stdout]   --> src/main.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 |     else { Equal }
[INFO] [stdout]    |            ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::cmp::Ordering::Equal;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Ordering` in this scope
[INFO] [stdout]   --> src/main.rs:40:29
[INFO] [stdout]    |
[INFO] [stdout] 40 | fn cmp(a: uint, b: uint) -> Ordering {
[INFO] [stdout]    |                             ^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::cmp::Ordering;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::sync::atomic::Ordering;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Less` in this scope
[INFO] [stdout]   --> src/main.rs:41:16
[INFO] [stdout]    |
[INFO] [stdout] 41 |     if a < b { Less }
[INFO] [stdout]    |                ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::cmp::Ordering::Less;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Greater` in this scope
[INFO] [stdout]   --> src/main.rs:42:21
[INFO] [stdout]    |
[INFO] [stdout] 42 |     else if a > b { Greater }
[INFO] [stdout]    |                     ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::cmp::Ordering::Greater;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Equal` in this scope
[INFO] [stdout]   --> src/main.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 |     else { Equal }
[INFO] [stdout]    |            ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit variant
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::cmp::Ordering::Equal;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]  --> src/main.rs:7:51
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let secret_number = (rand::random::<uint>() % 100u) + 1u;
[INFO] [stdout]   |                                                   ^^^^ invalid suffix `u`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]  --> src/main.rs:7:51
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let secret_number = (rand::random::<uint>() % 100u) + 1u;
[INFO] [stdout]   |                                                   ^^^^ invalid suffix `u`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]  --> src/main.rs:7:59
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let secret_number = (rand::random::<uint>() % 100u) + 1u;
[INFO] [stdout]   |                                                           ^^ invalid suffix `u`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `u` for number literal
[INFO] [stdout]  --> src/main.rs:7:59
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let secret_number = (rand::random::<uint>() % 100u) + 1u;
[INFO] [stdout]   |                                                           ^^ invalid suffix `u`
[INFO] [stdout]   |
[INFO] [stdout]   = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/main.rs:13:33
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let input = io::stdin().read_line()
[INFO] [stdout]    |                                 ^^^^^^^^^-- an argument of type `&mut String` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/9610dfe5a9a731ced1ea4923ecbd0c57fe367898/library/std/src/io/stdio.rs:387:12
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let input = io::stdin().read_line(/* &mut String */)
[INFO] [stdout]    |                                          ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/main.rs:13:33
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let input = io::stdin().read_line()
[INFO] [stdout]    |                                 ^^^^^^^^^-- an argument of type `&mut String` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> /rustc/9610dfe5a9a731ced1ea4923ecbd0c57fe367898/library/std/src/io/stdio.rs:387:12
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 13 |         let input = io::stdin().read_line(/* &mut String */)
[INFO] [stdout]    |                                          ~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for type `usize` in the current scope
[INFO] [stdout]   --> src/main.rs:16:54
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let input_num: Option<uint> = from_str(input.as_slice().trim());
[INFO] [stdout]    |                                                      ^^^^^^^^ method not found in `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope
[INFO] [stdout]   --> src/main.rs:16:39
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let input_num: Option<uint> = from_str(input.as_slice().trim());
[INFO] [stdout]    |                                       ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0412, E0425, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `guessing_game` (bin "guessing_game") due to 15 previous errors
[INFO] [stdout] error[E0599]: no method named `as_slice` found for type `usize` in the current scope
[INFO] [stdout]   --> src/main.rs:16:54
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let input_num: Option<uint> = from_str(input.as_slice().trim());
[INFO] [stdout]    |                                                      ^^^^^^^^ method not found in `usize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope
[INFO] [stdout]   --> src/main.rs:16:39
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let input_num: Option<uint> = from_str(input.as_slice().trim());
[INFO] [stdout]    |                                       ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `guessing_game` (bin "guessing_game" test) due to 15 previous errors
[INFO] [stdout] error: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0412, E0425, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "a5a8d6f60f5ca875909ffea7d99936cf4bf61cbfab9f2b08bf24ca4b7a72e46c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a5a8d6f60f5ca875909ffea7d99936cf4bf61cbfab9f2b08bf24ca4b7a72e46c", kill_on_drop: false }`
[INFO] [stdout] a5a8d6f60f5ca875909ffea7d99936cf4bf61cbfab9f2b08bf24ca4b7a72e46c
